Variables
Variables in standard code can be any alphanumeric value so long as it does not start with a number or a special character. Standard variables are case-sensitive. It also may not contain a special character.
To set a variable to a value, use the variable name followed by a white space and the value.
pi 3.14159268
myName "John Snow"
Types
The variable type will be automatically set and must maintain that type.
#Strings
fullname "John Jacobs"
#Doubles
e 2.71828
#Integers
quantity 1400
#Booleans
faded false
#Arrays
arr { 1, 2, 3 }
Null Types and Initialization
You can set a variable to null by following the variable with null. You can also name a variable on its own line, and the variable will be set to null. The variable will inherit a type the first time it is set to a value.
username
in username "What's your name?"
print username
Reserved Words
Variable names may not be a reserved word or function. It may not be named after a function you implement in your standard code.
alertbreakcleancleardeletedownloadfilesforhistoryifinisimportlaunchmapoutprintregistryrelayreloadrunsharestandardsstdstreeviewvolumewhilewindow$config